package com.kefu.call.model;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.persistence.*;
import javax.validation.constraints.NotEmpty;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * @author francis
 * @date 2021/05/22
 */
@Data
@TableName(value="call_activity_user_info")
@ApiModel(description = "活动用户")
public class ActivityUserInfo implements Serializable {
    /**
     * 活动用户ID
     */

    @TableId(value="activity_user_id")
    @NotEmpty
    @ApiModelProperty(value = "主键")
    private String activityUserId;

    /**
     * 活动Id
     */
    @TableField(value = "activity_id")
    @ApiModelProperty(value = "活动Id")
    private String activityId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    @ApiModelProperty(value = "创建人")
    private String createUser;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value = "修改时间")
    private Long updateTime;

    /**
     * 修改人
     */
    @TableField(value = "update_user")
    @ApiModelProperty(value = "修改人")
    private String updateUser;

    /**
     * 数据状态0 无效，1有效
     */
    @TableField(value = "data_status")
    @ApiModelProperty(value = "数据状态0 无效，1有效")
    private Integer dataStatus;

    /**
     * 租户
     */
    @TableField(value = "tenant_id")
    @ApiModelProperty(value = "租户")
    private String tenantId;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value = "用户ID")
    private String userId;

    /**
     * 用户姓名
     */
    @TableField(value = "user_name")
    @ApiModelProperty(value = "用户姓名")
    private String userName;

    private static final long serialVersionUID = 1L;
}